package com.yocard.yxyd.ui.contract;

import android.widget.LinearLayout;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.response.CsmOrderDetailBean;
import com.zhy.view.flowlayout.TagFlowLayout;

import java.util.List;

/**
 * Created on 2019/4/9.
 */
public interface CsmDetailContract {
    interface View extends BaseView {
        void onFetchData(CsmOrderDetailBean detailBean);
    }

    interface Presenter extends BasePresenter<View> {
        void fetchData(String id);
        void fillView(LinearLayout llContainer, CsmOrderDetailBean.LoanEntity loanBean);
        void fillZiliao(TagFlowLayout flowLayout, List<String> ziliao);
    }
}
